package uoc.ei.practica;

import java.util.Date;

import  uoc.ei.tads.Iterador;

/** 
 * Definición del TAD de gestión del campeonato de padel
 */
public interface PaddleManager {
	
	// Areas
	public void addArea(String areaId, String name);	
	public Iterador<Area> areas() throws EIException;
		
	// PaddleClubs
	public void addPaddleClub(String paddelClubId, String name, String areaId, int numOfCourts) throws EIException;
	public Iterador<PaddleClub> paddleClubs(String areaId) throws EIException;
	
	public Reserve booking(String areaId, String paddleClubId, Date date, int duration) throws EIException; 
}
